/**
 * 
 */
package squarePackage;

import java.math.BigDecimal;

import Enumerations.Directions;
import Obstacle.Wall;

/**
 * 
 * A class of plainSquares extending SquareImp
 * A plainSquare had no special extra characteristics in respect to squareImp
 * 
 * @invar @see SquareImp
 * 
 * @author An
 *
 */
public class PlainSquare extends SquareImp {

	/**
	 * A constructor for PlainSquare
	 * @see SquareImp
	 */
	public PlainSquare(double temperature, BigDecimal humidity, Directions[] directions){
		super(temperature, humidity, directions);
	}

	/**
	 * A constructor for PlainSquare
	 * @see SquareImp
	 */
	public PlainSquare(){
		super();
	}
	
	/**
	 * A method to check whether or not a neighbour's border is valid to set in
	 * the direction of the neighbor
	 */
	@Override
	public boolean isValidNeighbourBorder(Directions direction, Wall wall) {
		return (super.isValidBorder(direction, wall));
	}
}
